﻿using Utility.Enum;

namespace Model.DomainModel
{
    /// <summary>
    /// 表单模型
    /// </summary>
    public class Form
    {
        /// <summary>
        /// 表单主键
        /// </summary>
        public string FormId { get; set; } = string.Empty;

        /// <summary>
        /// 部门id
        /// </summary>
        public string DepartmentId { get; set; } = string.Empty ;

        /// <summary>
        /// 表单json
        /// </summary>
        public string FormJson { get; set; } = string.Empty;

        /// <summary>
        /// 表单数据
        /// </summary>
        public string FormData { get; set; } = string.Empty;

        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; } = string.Empty;

        /// <summary>
        /// 表单类型
        /// </summary>
        public int TypeId { get; set; }

        /// <summary>
        /// 数据状态
        /// </summary>
        public DataStateEnum DataState { get; set; }

        /// <summary>
        /// 表单备注
        /// </summary>
        public string FormRemark { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人员
        /// </summary>
        public string CreateUserKey { get; set; } = string.Empty;
    }
}
